package com.jinmdz.app.api.api.model.common;

import com.jinmdz.app.dao.model.charge.ChargeItem;
import com.jinmdz.fmis.common.annotation.AnValidate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;

/**
 * 公用费用
 *
 * @author LiCongLu
 * @date 2020-02-13 16:41
 */
@ApiModel(value = "公用费用", description = "公用费用")
public class BusinessCharges {

    /**
     * 业务费用
     */
    @AnValidate(name = "业务费用", required = true)
    @ApiModelProperty(value = "业务费用", name = "businessCharge", position = 1)
    private ChargeItem businessCharge;

    /**
     * 物品服务
     */
    @AnValidate(name = "物品服务")
    @ApiModelProperty(value = "物品服务", name = "goodsServices", position = 2)
    private ArrayList<ChargeItem> goodsServices;

    /**
     * 删除主键和数据版本
     */
    @AnValidate(name = "删除主键和数据版本")
    @ApiModelProperty(value = "删除主键和数据版本", name = "deleteIds", position = 3)
    private ArrayList<IdVersionData> deleteIds;

    public ChargeItem getBusinessCharge() {
        return businessCharge;
    }

    public BusinessCharges setBusinessCharge(ChargeItem businessCharge) {
        this.businessCharge = businessCharge;
        return this;
    }

    public ArrayList<ChargeItem> getGoodsServices() {
        return goodsServices;
    }

    public BusinessCharges setGoodsServices(ArrayList<ChargeItem> goodsServices) {
        this.goodsServices = goodsServices;
        return this;
    }

    public ArrayList<IdVersionData> getDeleteIds() {
        return deleteIds;
    }

    public BusinessCharges setDeleteIds(ArrayList<IdVersionData> deleteIds) {
        this.deleteIds = deleteIds;
        return this;
    }
}
